:root {
  --primary-color: #2193b0;
  --primary-light: #6dd5ed;
  --background-light: #f5f7fa;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --urgent-color: #e74c3c;
}

.big {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--background-light);
  min-height: 100vh;
}

/* 标题样式 */
h1 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  cursor: pointer;
}

/* 导航标签样式 */
.nav-tabs {
  display: flex;
  margin-bottom: 25px;
  background: white;
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-tabs span {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.ab {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.bb {
  color: var(--text-secondary);
}

.bb:hover {
  background-color: rgba(33, 147, 176, 0.1);
}

/* 病历卡片样式 */
.medical-record {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medical-record:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 147, 176, 0.15);
}

/* 日期样式 */
.date {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* 患者信息样式 */
.patient-info {
  margin-bottom: 12px;
}

.patient-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 12px;
}

.patient-details {
  color: var(--text-secondary);
  font-size: 14px;
}

/* 内容样式 */
.content {
  background-color: var(--background-light);
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  color: var(--text-primary);
  font-size: 15px;
  position: relative;
}

/* 紧急标签样式 */
.urgent {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--urgent-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* 底部信息样式 */
.record-footer {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 10px;
}

.comments {
  display: flex;
  align-items: center;
  gap: 4px;
}

.comments::before {
  content: "💬";
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .big {
    padding: 15px;
  }

  h1 {
    font-size: 20px;
  }

  .medical-record {
    padding: 15px;
  }

  .patient-name {
    font-size: 16px;
  }

  .content {
    font-size: 14px;
  }
}

/* 添加医疗主题装饰元素 */
.medical-record::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  border-radius: 2px;
  margin-left: -2px;
}

/* 添加平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

/* 添加选择效果 */
::selection {
  background: rgba(33, 147, 176, 0.2);
}